package com.net.shop.car.manager.api.volley.request.oil;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;

public class OilCardDeletrRequest  extends Request{
	String CardNumber;
	String Id;
	public OilCardDeletrRequest(String CardNumber,String Id) {
		super(Constants.DELETE_CARD);
		this.CardNumber=CardNumber;
		this.Id=Id;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		
		try {
			jsonObject.put("card_number",CardNumber);
			jsonObject.put("member_id", Id);
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
